Bite 17. Form teams from a group of friends
Login and get codingWrite a function called
friends_teamsthat takes a list of friends, ateam_size(typeint, default=2) andorder_does_matter(typebool, defaultFalse).Return all possible teams. Hint: if order matters (
order_does_matter=True), the number of teams would be greater.See the tests for more details. Enjoy :)
664 out of 693 users completed this Bite.
Will you be the 665th person to crack this Bite?
Resolution time: ~32 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 3.55 on a 1-10 difficulty scale.
» You can do it! 😌